package di.finaldi;

import org.springframework.stereotype.Component;

@Component
public class DeskServer {	
	private Server server;
	private Desk desk;
	
	
	public DeskServer() {
		super();
	}

	public DeskServer(Server server, Desk desk) {
		super();
		this.server = server;
		this.desk = desk;
	}

	public Server getServer() {
		return server;
	}

	public void setServer(Server server) {
		this.server = server;
	}

	public Desk getDesk() {
		return desk;
	}

	public void setDesk(Desk desk) {
		this.desk = desk;
	}

	public String toString() {
		return "DeskServer [server=" + server + ", desk=" + desk + "]";
	}

}
